﻿#include "Stage.h"

Stage::Stage()
{
    //Generate generate;
    GenerateR generate2;

    this->_mouse = new Mouse("mouse", VPoint(), Shape());
    this->passive_compo.append(this->_mouse);
    this->singles = generate2.getStage(":/xml/stage1.xml");

    foreach(Performer *per, this->singles)
    {
        if(per->getType() == "Ball")
        {   this->active_compo.append(per);   }
        this->passive_compo.append(per);
    }
/*
    this->stage_list = generate2.getStageList();

    foreach(QString s, this->stage_list)
    {
        qDebug() << s;
    }
*/
}

Stage::~Stage()
{

}

